package Command;

import Control.ICommandExecutor;

public class Exit implements ICommandExecutor  {

	private Exit(){}
	private static Exit instance;
	public static ICommandExecutor getInstance()
	{
		if (instance == null)
		{
			instance = new Exit();
		}
		return instance;
	}
	
	public void execute(String command)
	{
		System.exit(0);
	}

}
